package com.recruit.mapper;

import com.recruit.model.InfoDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
* @author tzg157
* @description 针对表【info(资讯新闻表)】的数据库操作Mapper
* @createDate 2023-11-21 14:30:18
* @Entity com.recruit.model.Info
*/
public interface InfoMapper extends BaseMapper<InfoDO> {

    @Select("select count(1) from info where title = #{title}")
    boolean isTitleExists(@Param("title") String title);
}




